package com.example.eurekaclient;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author tgj
 * @Date 16:27 2021/5/3
 */
@RestController
@RequestMapping("test")
public class TestController {

    @RequestMapping("/test")
    public String test(String value) throws InterruptedException {
        Thread.sleep(60*1000);
        System.err.println(value);
        return "ok：" + value;
    }
}


